package cn.xiaohuodui.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Author :keepcleargas
 * Date   :2016-12-22 15:36.
 */
@Component
@ConfigurationProperties(prefix = "pay")
public class PayConfig {
    private String alipayNotifyUrl;
    private String wxpayNotifyUrl;
    private String webReturnUrl;    //web支付成功后跳转页面

    public String getAlipayNotifyUrl() {
        return alipayNotifyUrl;
    }

    public void setAlipayNotifyUrl(String alipayNotifyUrl) {
        this.alipayNotifyUrl = alipayNotifyUrl;
    }


    public String getWxpayNotifyUrl() {
        return wxpayNotifyUrl;
    }

    public String getWebReturnUrl() {
        return webReturnUrl;
    }

    public void setWebReturnUrl(String webReturnUrl) {
        this.webReturnUrl = webReturnUrl;
    }

    public void setWxpayNotifyUrl(String wxpayNotifyUrl) {
        this.wxpayNotifyUrl = wxpayNotifyUrl;
    }
}
